#!/bin/bash

echo "Stopping ROS app..."

rosnode kill /usb_cam
rosnode kill /Image2RTSPNodelet
rosnode kill /standalone_nodelet

# 等待注销
sleep 2

# 清理 zombie 节点
rosnode cleanup -y

#pkill -f "ros_cam_manager"